package com.dura.common.util;



import com.dura.common.model.StandardReport;

import java.util.concurrent.ConcurrentHashMap;

/**
 * 用于存储CMPP 发送短信时，临时存储
 * @version 1.0
 * @Author 振鹏
 * @Date 2025/3/19 15:21
 * @注释
 */
public class CMPPDeliverMapUtil {

    private static ConcurrentHashMap<String, StandardReport> map=new ConcurrentHashMap<>();

    public static void put(String sequence,StandardReport submit){
        map.put(sequence,submit);
    }

    public static StandardReport get(String sequence){
        return map.get(sequence);
    }

    public static StandardReport remove(String sequence){
        return map.remove(sequence );
    }
}
